package com.vieewer.btdemo.utils

import com.vieewer.btdemo.R

class MapUtils {

    companion object{
        fun getDrawableRes(type : String): Int {

            var resId = 0
            when (type) {
                "2" -> {
                    resId = R.drawable.amap_navi_lbs_sou2
                }
                "3" -> {
                    resId = R.drawable.amap_navi_lbs_sou3
                }
                "4" -> {
                    resId = R.drawable.amap_navi_lbs_sou4
                }
                "5" -> {
                    resId = R.drawable.amap_navi_lbs_sou5
                }
                "6" -> {
                    resId = R.drawable.amap_navi_lbs_sou6
                }
                "7" -> {
                    resId = R.drawable.amap_navi_lbs_sou7
                }
                "8" -> {
                    resId = R.drawable.amap_navi_lbs_sou8
                }
                "9" -> {
                    resId = R.drawable.amap_navi_lbs_sou9
                }
                "10" -> {
                    resId = R.drawable.amap_navi_lbs_sou10
                }
                "11" -> {
                    resId = R.drawable.amap_navi_lbs_sou11
                }
                "12" -> {
                    resId = R.drawable.amap_navi_lbs_sou12
                }
                "13" -> {
                    resId = R.drawable.amap_navi_lbs_sou13
                }

                "14" -> {
                    resId = R.drawable.amap_navi_lbs_sou14
                }
                "15" -> {
                    resId = R.drawable.amap_navi_lbs_sou15
                }
                "16" -> {
                    resId = R.drawable.amap_navi_lbs_sou16
                }
                "17" -> {
                    resId = R.drawable.amap_navi_lbs_sou17
                }
                "18" -> {
                    resId = R.drawable.amap_navi_lbs_sou18
                }
                "20" -> {
                    resId = R.drawable.amap_navi_lbs_sou20
                }

                "29" -> { // case 人行横道
                    resId = R.drawable.amap_navi_lbs_sou9
                }






            }
            return resId

        }


    }






}